package com.cy.stone.system.infrastructure.database.entity;

import com.cy.stone.common.base.BaseEntity;
import lombok.*;
import lombok.experimental.Accessors;
import io.swagger.v3.oas.annotations.media.Schema;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Table;

/**
 * 字典数据表 实体类。
 *
 * @author Wings
 * @since 1.0
 */
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "字典数据表")
@Table(value = "ST_DICT_DATA")
public class DictDataEntity extends BaseEntity {

    /**
     * 字典编码
     */
    @Schema(description = "字典编码")
    @Column(value = "DICT_CODE")
    private String dictCode;

    /**
     * 字典排序
     */
    @Schema(description = "字典排序")
    @Column(value = "DICT_SORT")
    private Integer dictSort;

    /**
     * 字典键值
     */
    @Schema(description = "字典键值")
    @Column(value = "DICT_VALUE")
    private String dictValue;

    /**
     * 字典类型
     */
    @Schema(description = "字典类型")
    @Column(value = "DICT_TYPE")
    private String dictType;

}
